Optimal. Leaf size=89 \[ \frac {2 x^{5/2}}{3 b (2-b x)^{3/2}}-\frac {10 x^{3/2}}{3 b^2 \sqrt {2-b x}}-\frac {5 \sqrt {x} \sqrt {2-b x}}{b^3}+\frac {10 \sin ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )}{b^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 89, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {49, 52, 56, 222}
\begin {gather*} \frac {10 \sin ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )}{b^{7/2}}-\frac {5 \sqrt {x} \sqrt {2-b x}}{b^3}-\frac {10 x^{3/2}}{3 b^2 \sqrt {2-b x}}+\frac {2 x^{5/2}}{3 b (2-b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 49
Rule 52
Rule 56
Rule 222
Rubi steps
\begin {align*} \int \frac {x^{5/2}}{(2-b x)^{5/2}} \, dx &=\frac {2 x^{5/2}}{3 b (2-b x)^{3/2}}-\frac {5 \int \frac {x^{3/2}}{(2-b x)^{3/2}} \, dx}{3 b}\\ &=\frac {2 x^{5/2}}{3 b (2-b x)^{3/2}}-\frac {10 x^{3/2}}{3 b^2 \sqrt {2-b x}}+\frac {5 \int \frac {\sqrt {x}}{\sqrt {2-b x}} \, dx}{b^2}\\ &=\frac {2 x^{5/2}}{3 b (2-b x)^{3/2}}-\frac {10 x^{3/2}}{3 b^2 \sqrt {2-b x}}-\frac {5 \sqrt {x} \sqrt {2-b x}}{b^3}+\frac {5 \int \frac {1}{\sqrt {x} \sqrt {2-b x}} \, dx}{b^3}\\ &=\frac {2 x^{5/2}}{3 b (2-b x)^{3/2}}-\frac {10 x^{3/2}}{3 b^2 \sqrt {2-b x}}-\frac {5 \sqrt {x} \sqrt {2-b x}}{b^3}+\frac {10 \text {Subst}\left (\int \frac {1}{\sqrt {2-b x^2}} \, dx,x,\sqrt {x}\right )}{b^3}\\ &=\frac {2 x^{5/2}}{3 b (2-b x)^{3/2}}-\frac {10 x^{3/2}}{3 b^2 \sqrt {2-b x}}-\frac {5 \sqrt {x} \sqrt {2-b x}}{b^3}+\frac {10 \sin ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )}{b^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 72, normalized size = 0.81 \begin {gather*} -\frac {\sqrt {x} \left (60-40 b x+3 b^2 x^2\right )}{3 b^3 (2-b x)^{3/2}}+\frac {10 \log \left (-\sqrt {-b} \sqrt {x}+\sqrt {2-b x}\right )}{(-b)^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-1)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 81, normalized size = 0.91
method | result | size |
meijerg | \(-\frac {8 \left (-\frac {\sqrt {\pi }\, \sqrt {x}\, \sqrt {2}\, \left (-b \right )^{\frac {7}{2}} \left (\frac {21}{4} x^{2} b^{2}-70 b x +105\right )}{56 b^{3} \left (-\frac {b x}{2}+1\right )^{\frac {3}{2}}}+\frac {15 \sqrt {\pi }\, \left (-b \right )^{\frac {7}{2}} \arcsin \left (\frac {\sqrt {b}\, \sqrt {x}\, \sqrt {2}}{2}\right )}{4 b^{\frac {7}{2}}}\right )}{3 \left (-b \right )^{\frac {5}{2}} \sqrt {\pi }\, b}\) | \(81\) |
risch | \(\frac {\sqrt {x}\, \left (b x -2\right ) \sqrt {\left (-b x +2\right ) x}}{b^{3} \sqrt {-x \left (b x -2\right )}\, \sqrt {-b x +2}}+\frac {\left (\frac {5 \arctan \left (\frac {\sqrt {b}\, \left (x -\frac {1}{b}\right )}{\sqrt {-x^{2} b +2 x}}\right )}{b^{\frac {7}{2}}}+\frac {28 \sqrt {-\left (x -\frac {2}{b}\right )^{2} b -2 x +\frac {4}{b}}}{3 b^{4} \left (x -\frac {2}{b}\right )}+\frac {8 \sqrt {-\left (x -\frac {2}{b}\right )^{2} b -2 x +\frac {4}{b}}}{3 b^{5} \left (x -\frac {2}{b}\right )^{2}}\right ) \sqrt {\left (-b x +2\right ) x}}{\sqrt {x}\, \sqrt {-b x +2}}\) | \(168\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 86, normalized size = 0.97 \begin {gather*} \frac {2 \, {\left (2 \, b^{2} + \frac {10 \, {\left (b x - 2\right )} b}{x} - \frac {15 \, {\left (b x - 2\right )}^{2}}{x^{2}}\right )}}{3 \, {\left (\frac {{\left (-b x + 2\right )}^{\frac {3}{2}} b^{4}}{x^{\frac {3}{2}}} + \frac {{\left (-b x + 2\right )}^{\frac {5}{2}} b^{3}}{x^{\frac {5}{2}}}\right )}} - \frac {10 \, \arctan \left (\frac {\sqrt {-b x + 2}}{\sqrt {b} \sqrt {x}}\right )}{b^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.31, size = 187, normalized size = 2.10 \begin {gather*} \left [-\frac {15 \, {\left (b^{2} x^{2} - 4 \, b x + 4\right )} \sqrt {-b} \log \left (-b x + \sqrt {-b x + 2} \sqrt {-b} \sqrt {x} + 1\right ) + {\left (3 \, b^{3} x^{2} - 40 \, b^{2} x + 60 \, b\right )} \sqrt {-b x + 2} \sqrt {x}}{3 \, {\left (b^{6} x^{2} - 4 \, b^{5} x + 4 \, b^{4}\right )}}, -\frac {30 \, {\left (b^{2} x^{2} - 4 \, b x + 4\right )} \sqrt {b} \arctan \left (\frac {\sqrt {-b x + 2}}{\sqrt {b} \sqrt {x}}\right ) + {\left (3 \, b^{3} x^{2} - 40 \, b^{2} x + 60 \, b\right )} \sqrt {-b x + 2} \sqrt {x}}{3 \, {\left (b^{6} x^{2} - 4 \, b^{5} x + 4 \, b^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 4.25, size = 751, normalized size = 8.44 \begin {gather*} \begin {cases} - \frac {3 i b^{\frac {23}{2}} x^{15}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} + \frac {40 i b^{\frac {21}{2}} x^{14}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} - \frac {60 i b^{\frac {19}{2}} x^{13}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} - \frac {30 i b^{10} x^{\frac {27}{2}} \sqrt {b x - 2} \operatorname {acosh}{\left (\frac {\sqrt {2} \sqrt {b} \sqrt {x}}{2} \right )}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} + \frac {15 \pi b^{10} x^{\frac {27}{2}} \sqrt {b x - 2}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} + \frac {60 i b^{9} x^{\frac {25}{2}} \sqrt {b x - 2} \operatorname {acosh}{\left (\frac {\sqrt {2} \sqrt {b} \sqrt {x}}{2} \right )}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} - \frac {30 \pi b^{9} x^{\frac {25}{2}} \sqrt {b x - 2}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {b x - 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {b x - 2}} & \text {for}\: \left |{b x}\right | > 2 \\\frac {3 b^{\frac {23}{2}} x^{15}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {- b x + 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {- b x + 2}} - \frac {40 b^{\frac {21}{2}} x^{14}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {- b x + 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {- b x + 2}} + \frac {60 b^{\frac {19}{2}} x^{13}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {- b x + 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {- b x + 2}} + \frac {30 b^{10} x^{\frac {27}{2}} \sqrt {- b x + 2} \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {b} \sqrt {x}}{2} \right )}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {- b x + 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {- b x + 2}} - \frac {60 b^{9} x^{\frac {25}{2}} \sqrt {- b x + 2} \operatorname {asin}{\left (\frac {\sqrt {2} \sqrt {b} \sqrt {x}}{2} \right )}}{3 b^{\frac {27}{2}} x^{\frac {27}{2}} \sqrt {- b x + 2} - 6 b^{\frac {25}{2}} x^{\frac {25}{2}} \sqrt {- b x + 2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.01, size = 129, normalized size = 1.45 \begin {gather*} 2 \left (\frac {2 \left (\left (-\frac {\frac {1}{36}\cdot 9 b^{4} \sqrt {x} \sqrt {x}}{b^{5}}+\frac {\frac {1}{36}\cdot 120 b^{3}}{b^{5}}\right ) \sqrt {x} \sqrt {x}-\frac {\frac {1}{36}\cdot 180 b^{2}}{b^{5}}\right ) \sqrt {x} \sqrt {-b x+2}}{\left (-b x+2\right )^{2}}-\frac {5 \ln \left (\sqrt {-b x+2}-\sqrt {-b} \sqrt {x}\right )}{b^{3} \sqrt {-b}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^{5/2}}{{\left (2-b\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________